package org.jeecg.modules.demo.inventorybase.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.inventorybase.entity.InventoryBase;
import org.jeecg.modules.demo.inventorybase.entity.InventoryBaseNotice;

import java.util.List;
import java.util.Map;

/**
 * @Description: 库存
 * @Author: jeecg-boot
 * @Date: 2021-12-30
 * @Version: V1.0
 */
public interface IInventoryBaseService extends IService<InventoryBase> {
    /**
     * 查询库存告急商品数量
     *
     * @return
     */
    String getInventoryUrgentQty(String storeId);

    IPage<InventoryBase> getRepertoryByShop(Page<Map<String, Object>> page, String name, String code, String storeId);

    List<InventoryBaseNotice> getZeroInventoryList();
}
